package com.atguigu.gmall.item.vo;

import com.agtuigu.gmall.pms.entity.BrandEntity;
import com.agtuigu.gmall.pms.entity.CategoryEntity;
import com.agtuigu.gmall.pms.entity.SkuImagesEntity;
import com.agtuigu.gmall.pms.entity.SkuSaleAttrValueEntity;
import com.agtuigu.gmall.pms.vo.ItemGroupVo;
import com.atguigu.gmall.sms.vo.SaleVo;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class ItemVo {
    private Long skuId;

    private CategoryEntity categoryEntity;

    private BrandEntity brandEntity;

    private Long spuId;

    private String spuName;

    private String skuTitle;

    private String  subTitle;

    private BigDecimal price;

    private BigDecimal weight;

    private List<SkuImagesEntity> pics;  //sku的图片列表

    private List<SaleVo> salse; //营销信息

    private Boolean store; //是否有货

    private List<SkuSaleAttrValueEntity> saleAttrs;  //销售属性

    private List<String> images; //spu海报

   private List<ItemGroupVo> groups;  //规格参数组及组下的规格参数（带值）


}
